package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Setter@Getter
public class Charge {
    private Long id;

    private String cardNumber;

    private Boolean operateWay;


    private String payType;

    private BigDecimal oldBalance;

    private BigDecimal chargeAmount;

    private BigDecimal newBalance;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    //充值时间
    private Date chargeDate;

    private String remark;

    //操作人
    private Long userId;

    private String username;


}